#!/bin/bash
#this script collects data according to passed parameters and saves it to compressed #file

mpstat $1 $2 > ./$3
gzip ./$3 > data.gz
echo "action complete"
